package cn.com.joco.dk.webby.service.user;


import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.com.joco.dk.webby.model.User;

public interface UserService {

	public Page<User> findByPage(Pageable pageable,String name,int status);

	public User findById(long id);

	public void updateStatus(int status,long id);

	public void updateLoginId(User user);

	public void save(User user);

	public void update(User user);
	
	public User findByloginId(String loginId);
}
